# 定义列表
bicycles = ['trek','cannondale','redline','specialized',1234,567,33.445]
print(bicycles)
# 取列表的第一个元素
bicycles_1_element = bicycles[0]
print(bicycles_1_element)
# 取列表的最后一个元素，法1
bicycles_end_element_1 = bicycles[len(bicycles)-1]
print(bicycles_end_element_1)
# 取列表的最后一个元素，法2
bicycles_end_element_2 = bicycles[-1]
print(bicycles_end_element_2)
# 获取列表第三个元素，并将其首字母变成大写
bicycles_3_element = bicycles[2]
print(bicycles_3_element.title())

